import { request } from "@/api/service.js"
/**
   * @description 获取积分兑换
   * @param {Object} data 
   */
export function getIntegralExchange (data = {}){
  // 接口请求
  return request({
    url: '/integralExchange/getIntegralExchange',
    method: 'post',
    data: data
  })
}
/**
   * @description 添加积分兑换
   * @param {Object} data 
   */
export function addIntegralExchange (data = {}){
    // 接口请求
    return request({
      url: '/integralExchange/addIntegralExchange',
      method: 'post',
      data: data
    })
 }
/**
   * @description 修改积分兑换
   * @param {Object} data 
   */
export function updateIntegralExchange (data = {}){
    // 接口请求
    return request({
      url: '/integralExchange/updateIntegralExchange',
      method: 'post',
      data: data
    })
 }
 /**
   * @description 删除积分兑换
   * @param {Object} data 
   */
export function deleteIntegralExchange (data = {}){
    // 接口请求
    return request({
      url: '/integralExchange/deleteIntegralExchange',
      method: 'post',
      data: data
    })
 }